package com.example.hello.pojo;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class CommunityComment {
    private Long id;
    private Long userId;
    private Long parentId;    // NULL 表示根评论
    private Long toUserId;    // NULL 或被回复用户ID
    private String content;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}